Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

introduce property_checker_resultt #651

Merged
merged 1 commit into from
Aug 30, 2024
Merged

Conversation

kroening
Copy link
Member

This introduces a type for the result from an engine, as a replacement for int.

@kroening kroening force-pushed the property_checker_resultt branch 3 times, most recently from 90c7354 to c3e78b3 Compare August 30, 2024 16:28
@kroening kroening marked this pull request as ready for review August 30, 2024 16:30
@@ -12,6 +12,13 @@ Author: Daniel Kroening, [email protected]
#include "ebmc_properties.h"
#include "transition_system.h"

enum class property_checker_resultt
{
REPORT_RESULT,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am struggling to understand what this one is about? Or, rather, why is "SUCCESS" not a "result?"

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not a verification result -- rename REPORT_RESULT -> REPORT_VERIFICATION_RESULT?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or simply VERIFICATION_RESULT?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VERIFICATION_RESULT works for me.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@tautschnig
Copy link
Collaborator

Also, is there a case for re-using src/goto-checker/properties.h?

@kroening
Copy link
Member Author

Also, is there a case for re-using src/goto-checker/properties.h?

It will move into this direction; but there simply aren't any goto programs.

This introduces a type for the result from an engine, as a replacement for
'int'.
@kroening kroening force-pushed the property_checker_resultt branch from c3e78b3 to 7a255f6 Compare August 30, 2024 17:25
@tautschnig tautschnig merged commit 4f83074 into main Aug 30, 2024
7 of 8 checks passed
@tautschnig tautschnig deleted the property_checker_resultt branch August 30, 2024 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants